﻿using System;

namespace com.igetui.api.openservice
{
	// Token: 0x0200002A RID: 42
	public class IGtHttpProxy
	{
		// Token: 0x06000475 RID: 1141 RVA: 0x00009C38 File Offset: 0x00007E38
		public IGtHttpProxy()
		{
			string httpProxyIp = GtConfig.getHttpProxyIp();
			int httpProxyPort = GtConfig.getHttpProxyPort();
			if (!string.IsNullOrWhiteSpace(httpProxyIp))
			{
				this._host = httpProxyIp;
				this._port = httpProxyPort;
				this._user = GtConfig.getHttpProxyUser();
				this._passwd = GtConfig.getHttpProxyPasswd();
			}
		}

		// Token: 0x17000219 RID: 537
		// (get) Token: 0x06000476 RID: 1142 RVA: 0x00009C83 File Offset: 0x00007E83
		// (set) Token: 0x06000477 RID: 1143 RVA: 0x00009C8B File Offset: 0x00007E8B
		public string Host
		{
			get
			{
				return this._host;
			}
			set
			{
				this._host = value;
			}
		}

		// Token: 0x1700021A RID: 538
		// (get) Token: 0x06000478 RID: 1144 RVA: 0x00009C94 File Offset: 0x00007E94
		// (set) Token: 0x06000479 RID: 1145 RVA: 0x00009C9C File Offset: 0x00007E9C
		public int Port
		{
			get
			{
				return this._port;
			}
			set
			{
				this._port = value;
			}
		}

		// Token: 0x1700021B RID: 539
		// (get) Token: 0x0600047A RID: 1146 RVA: 0x00009CA5 File Offset: 0x00007EA5
		// (set) Token: 0x0600047B RID: 1147 RVA: 0x00009CAD File Offset: 0x00007EAD
		public string User
		{
			get
			{
				return this._user;
			}
			set
			{
				this._user = value;
			}
		}

		// Token: 0x1700021C RID: 540
		// (get) Token: 0x0600047C RID: 1148 RVA: 0x00009CB6 File Offset: 0x00007EB6
		// (set) Token: 0x0600047D RID: 1149 RVA: 0x00009CBE File Offset: 0x00007EBE
		public string Password
		{
			get
			{
				return this._passwd;
			}
			set
			{
				this._passwd = value;
			}
		}

		// Token: 0x040002B7 RID: 695
		private string _host;

		// Token: 0x040002B8 RID: 696
		private int _port;

		// Token: 0x040002B9 RID: 697
		private string _user;

		// Token: 0x040002BA RID: 698
		private string _passwd;
	}
}
